﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

using Microsoft.Xrm.Sdk;
using TesterCRM.Auxiliary;

namespace TesterCRM.Projects
{
    internal class Project1 : ITest
    {
        /// <summary>
        /// The main method which filters (or not) the test to realize.
        /// </summary>
        public void Execute ()
        {
            Test.Test1();
        }

        /// <summary>
        /// The main class to do tests.
        /// </summary>
        private class Test
        {
            /// <summary>
            /// An individual and isolated test.
            /// </summary>
            public static void Test1 ()
            {
                // Do things.
            }

            /// <summary>
            /// Another independent test.
            /// </summary>
            public static void Test2 ()
            {
                // Do things.
            }
        }

        /// <summary>
        /// An auxiliary example method.
        /// </summary>
        /// <param name="servicio">The OrganizationService to make operations.</param>
        /// <returns></returns>
        private static int AuxiliaryMethod (IOrganizationService servicio)
        {
            // Do things.
            return 1;
        }
    }

    /// <summary>
    /// An auxiliary example class.
    /// </summary>
    internal class AuxiliaryClass1
    {
        // Members.
    }
}